package adapter;

public class TurkeyAdapter implements Duck
{
	private Turkey turkey;
	public TurkeyAdapter(Turkey t)//constructor
	{
		this.turkey=t;
	}
	public void flyd()
	{
		turkey.flyd();
	}
	public void quack()
	{
		turkey.gobble();
	}

}